package org.footballmanager.pandafootball.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.footballmanager.pandafootball.system.domain.FootReward;
import org.footballmanager.pandafootball.system.form.impl.FootRewardSearchForm;
import tk.mybatis.mapper.common.BaseMapper;

import java.io.Serializable;
import java.util.List;

@Mapper
public interface FootRewardMapper extends BaseMapper<FootReward> {
    /**
     * 翻页查询
     * @param footRewordSearchForm 条件
     * @return 抽奖记录列表
     */
    List<FootReward> findall(FootRewardSearchForm footRewordSearchForm);

    /**
     * 根据主键查询记录
     * @param id 抽奖记录主键
     * @return 抽奖记录
     */
    FootReward findById(Serializable id);
}